
<!DOCTYPE html>
<html lang="en" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>hexo看板娘的模型更换 - 陌闻</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="Fechin,"> 
    <meta name="description" content="更换模型
1.需要找一个自己喜欢的模型去下载,也可以点击下方链接下载

大佬的github仓库
screenshot文件夹是放有看板娘的图片,可以在里面选择自己喜欢的一个,然后在assets中挑选模,"> 
    <meta name="author" content="陌闻"> 
    <link rel="alternative" href="atom.xml" title="陌闻" type="application/atom+xml"> 
    <link rel="icon" href="/myblog/img/favicon.png"> 
    
    
<link rel="stylesheet" href="/myblog/css/diaspora.css">

<meta name="generator" content="Hexo 5.4.0"></head>

<body class="loading">
    <span id="config-title" style="display:none">陌闻</span>
    <div id="loader"></div>
    <div id="single">
    <div id="top" style="display: block;">
    <div class="bar" style="width: 0;"></div>
    <a class="iconfont icon-home image-icon" href="javascript:;" data-url="http://strange-news.gitee.io/myblog"></a>
    <div title="播放/暂停" class="iconfont icon-play"></div>
    <h3 class="subtitle">hexo看板娘的模型更换</h3>
    <div class="social">
        <div>
            <div class="share">
                <a title="获取二维码" class="iconfont icon-scan" href="javascript:;"></a>
            </div>
            <div id="qr"></div>
        </div>
    </div>
    <div class="scrollbar"></div>
</div>

    <div class="section">
        <div class="article">
    <div class='main'>
        <h1 class="title">hexo看板娘的模型更换</h1>
        <div class="stuff">
            <span>四月 16, 2021</span>
            
  <ul class="post-tags-list" itemprop="keywords"><li class="post-tags-list-item"><a class="post-tags-list-link" href="/myblog/tags/hexo/" rel="tag">hexo</a></li><li class="post-tags-list-item"><a class="post-tags-list-link" href="/myblog/tags/%E7%9C%8B%E6%9D%BF%E5%A8%98/" rel="tag">看板娘</a></li></ul>


        </div>
        <div class="content markdown">
            <h3 id="更换模型"><a href="#更换模型" class="headerlink" title="更换模型"></a>更换模型</h3><blockquote>
<p>1.需要找一个自己喜欢的模型去下载,也可以点击下方链接下载</p>
</blockquote>
<p><a target="_blank" rel="noopener" href="https://github.com/summerscar/live2dDemo">大佬的github仓库</a></p>
<p>screenshot文件夹是放有看板娘的图片,可以在里面选择自己喜欢的一个,然后在assets中挑选模板</p>
<p>例如:</p>
<p>我选择assets文件夹中miku的模型</p>
<p>1.把miku文件夹复制放在node_modules中</p>
<p>2.在miku新建一个名为assets的文件夹,把之前miku里的文件全部放在assets文件夹里</p>
<p>3.在node_modules文件夹里找到以前下载的模型live2d-widget,把live2d-widget文件夹里package.json文件复制放在miku里</p>
<p>4.改变配置文件_config.yml里</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">model:</span><br><span class="line">   use: miku	</span><br></pre></td></tr></table></figure>

<p>这样子就可以换成自己喜欢的看板娘模型了</p>

            <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]-->
            <audio id="audio" loop="1" preload="auto" controls="controls" data-autoplay="false">
                <source type="audio/mpeg" src="">
            </audio>
            
                <ul id="audio-list" style="display:none">
                    
                        
                            <li title='0' data-url='http://link.hhtjim.com/163/425570952.mp3'></li>
                        
                    
                        
                            <li title='1' data-url='http://link.hhtjim.com/163/425570952.mp3'></li>
                        
                    
                </ul>
            
        </div>
        
    <div id='gitalk-container' class="comment link"
		data-enable='false'
        data-ae='false'
        data-ci=''
        data-cs=''
        data-r='myblog'
        data-o='strange-news'
        data-a='strange-news'
        data-d='false'
    >查看评论</div>


    </div>
    
</div>


    </div>
</div>
<script src="/myblog/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/myblog/live2dw/assets/kesyoban.model.json"},"display":{"position":"right","width":200,"height":300,"opacity":0.8},"mobile":{"show":true,"scale":0.5},"log":false});</script></body>


<script src="//lib.baomitu.com/jquery/1.8.3/jquery.min.js"></script>
<script src="/myblog/js/plugin.js"></script>
<script src="/myblog/js/typed.js"></script>
<script src="/myblog/js/diaspora.js"></script>


<link rel="stylesheet" href="/myblog/photoswipe/photoswipe.css">
<link rel="stylesheet" href="/myblog/photoswipe/default-skin/default-skin.css">


<script src="/myblog/photoswipe/photoswipe.min.js"></script>
<script src="/myblog/photoswipe/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>






</html>
